<?php
namespace Home\Controller;


use Home\Model\OderModel;
use Think\Controller;

/**
 * 订单页面管理控制器
 * Class IndexController
 * @package Home\Controller
 */
class OrderController extends Controller
{
	//首页
	public function index ()
	{
		$headConf = [
				'js'=>['list'],
				'css'=>['index'],
				'title'=>'上一天堂'
		];
		$this->assign('headConf',$headConf);
		//获取订单表中的信息
		$orderData = (new OderModel())->find();
//		p($data);
		$this->assign('orderData',$orderData);
		$this->display();
	}



}